Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 14 - Shader Objects / Shader Objects Reference
Shader Objects Routines / Managing Texture Shaders


Q3TextureShader_SetTexture

You can use the Q3TextureShader_SetTexture function to set the texture associated with a texture shader.

TQ3Status Q3TextureShader_SetTexture (
TQ3ShaderObject shader, 
TQ3TextureObject texture);
shader
A texture shader.
texture
The texture object to be associated with the specified texture shader.
DESCRIPTION
The Q3TextureShader_SetTexture function sets the texture object associated with the texture shader specified by the shader parameter to the texture specified by the texture parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996